package net.tngou.crawler.pojo;

import com.alibaba.fastjson.JSONObject;

public class Drugadvertising extends POJO {

	private String  number 	;//	药品广告批准文号 	
	private String  name 	;//		通用名称 	
	private String  company 	;//		单位名称 	
	private String  address 	;//		地址 	
	private String  zipcode 	;//		邮政编码 	
	private String  gname 	;//		商品名称 	
	private String  sname 	;//		商标名称 	
	private String  type 	;//		处方分类 	
	private String  gtype 	;//		广告类别 	
	private String  tcount 	;//		时长 	
	private String  date 	;//	广告有效期 	
	private String  coment 	;// 		广告发布内容 	
	private String  nos 	;// 		批准文号 	
	private String  mark 	;// 		备注 	
	public Drugadvertising() {}
	public Drugadvertising(JSONObject json) {
		if(json!=null) {
			this.number=json.getString("药品广告批准文号");
			this.name=json.getString("通用名称"); 	
			this.company=json.getString("单位名称"); 	
			this.address=json.getString("地址"); 	
			this.zipcode=json.getString("邮政编码"); 	
			this.gname=json.getString("商品名称"); 	
			this.sname=json.getString("商标名称"); 	
			this.type=json.getString("处方分类"); 	
			this.gtype=json.getString("广告类别"); 	
			this.tcount=json.getString("时长"); 	
			this.date=json.getString("广告有效期"); 	
			this.coment=json.getString("广告发布内容"); 	
			this.nos=json.getString("批准文号"); 	
			this.mark=json.getString("备注"); 	 	
		}
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getZipcode() {
		return zipcode;
	}
	public void setZipcode(String zipcode) {
		this.zipcode = zipcode;
	}
	public String getGname() {
		return gname;
	}
	public void setGname(String gname) {
		this.gname = gname;
	}
	public String getSname() {
		return sname;
	}
	public void setSname(String sname) {
		this.sname = sname;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getGtype() {
		return gtype;
	}
	public void setGtype(String gtype) {
		this.gtype = gtype;
	}
	public String getTcount() {
		return tcount;
	}
	public void setTcount(String tcount) {
		this.tcount = tcount;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getComent() {
		return coment;
	}
	public void setComent(String coment) {
		this.coment = coment;
	}
	public String getNos() {
		return nos;
	}
	public void setNos(String nos) {
		this.nos = nos;
	}
	public String getMark() {
		return mark;
	}
	public void setMark(String mark) {
		this.mark = mark;
	}
	
	
}
